Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / ContentElementCollection<T> Class / OnItemRemoving Method


In This Topic
    OnItemRemoving Method (ContentElementCollection<T>)
    In This Topic
    Invoked before an item is removed.
    Syntax
    'Declaration
     
    Protected Overridable Sub OnItemRemoving( _
       ByVal index As Integer, _
       ByVal item As T _
    ) 
    'Usage
     
    Dim instance As ContentElementCollection(Of T)
    Dim index As Integer
    Dim item As T
     
    instance.OnItemRemoving(index, item)
    protected virtual void OnItemRemoving( 
       int index,
       T item
    )

    Parameters

    index
    item
    Requirements

    Target Platforms: Windows 11, Windows, 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

    See Also